var hostname=window.location.hostname,
protocol=document.location.protocol=="https:"?"https:":"http:",
homeUrl=protocol+"//www.jobya.cc",
apiUrl=protocol+"//www.jobya.cc";
	
var base={
	/*
	 * 载入首尾标签
	 */
	loadHeadFootHtml : function(type){
		document.getElementById("header").innerHTML='<div class="main"><div class="head"><a class="logo" href="'+homeUrl+'"></a><div class="nav"><a href="'+homeUrl+'">APP下载</a><a href="'+homeUrl+'/index/index/about.html">功能介绍</a><a href="'+homeUrl+'/index/part/index.html">招聘兼职</a><a href="'+homeUrl+'/index/task/index.html">在线任务</a></div><div class="f_r" id="login"><a class="user_icon icon_bg" id="is_login" href="'+homeUrl+'/index/index/login.html"></a></div></div></div>';
		
		document.getElementById("footer").innerHTML=(type==1?'<div class="ensure"></div>':'')+'<div class="foot"><div class="box"><div class="info"><span class="f_l">&copy; 2019 广州一点创意网络科技有限公司. All Rights Reserved.</span><a class="countryBtn country_icon" id="countryBtn">中国</a></div></div></div>';
	}
}


